'Declaration Public Overloads Function OpenSharedResource(Of T As ComObject)( _ ByVal resourceHandle As System.IntPtr _ ) As T
public T OpenSharedResource<T>( System.IntPtr resourceHandle ) where T: ComObject
Parameters
- resourceHandle
- A resource handle. See remarks.
Type Parameters
- T
- The type of the resource we are gaining access to.
Return Value
This method returns a reference to the resource we are gaining access to.